package com.wxx.service.tool.mail;

import javax.mail.MessagingException;

public interface MailService {

    /**
     * 发送文本邮件
     * @param to
     * @param subject
     * @param content
     */
     void sendSimpleMail(String to, String subject, String content);

     void sendSimpleMail(String to, String subject, String content, String... cc);

    /**
     * 发送HTML邮件
     * @param to
     * @param subject
     * @param content
     * @throws MessagingException
     */
     void sendHtmlMail(String to, String subject, String content) throws MessagingException;


}
